package com.example.j20240317.demos.web.mapper;

import com.example.j20240317.demos.web.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserInfoMapper {
    @Select("select * from user_info where delete_flag =0 and user_name=#{userName}")
    UserInfo queryByName(String userName);
}
